package com.tfswx.ruleengine.database.bean.table;

import com.tfswx.ruleengine.database.bean.BaseTable;
import com.tfswx.ruleengine.database.bean.TabeleField;
import com.tfswx.ruleengine.database.bean.Zdlx;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ricky
 * @date 2022/3/1
 */
public class FfTable extends BaseTable {
    @Override
    public String getTableName() {
        return "T_GZYQ_XT_FF";
    }

    @Override
    public String getTableComment() {
        return "方法表";
    }

    @Override
    public List<TabeleField> getFieldList() {
        List<TabeleField> ffFieldList = new ArrayList<>();
        ffFieldList.add(new TabeleField("FFMC", Zdlx.VARCHAR, 50, true, "方法名称"));
        ffFieldList.add(new TabeleField("FFZWMC", Zdlx.VARCHAR, 100, false, "方法中文名称"));
        ffFieldList.add(new TabeleField("CLASSNAME", Zdlx.VARCHAR, 100, false, "className"));
        ffFieldList.add(new TabeleField("CLASSDATA", Zdlx.BLOB, null, false, "class数据"));
        ffFieldList.add(new TabeleField("SFSC", Zdlx.CHAR, 1, false, "是否删除"));
        ffFieldList.add(new TabeleField("CJSJ", Zdlx.TIMESTAMP, null, false, "创建时间"));
        ffFieldList.add(new TabeleField("ZHXGSJ", Zdlx.TIMESTAMP, null, false, "最后修改时间"));
        return ffFieldList;
    }
}
